projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46007df
)
fontchooserwidgets: Spinbuttons are no entries
author
Timm Bäder
<mail@baedert.org>
Thu, 4 May 2017 18:49:27 +0000
(20:49 +0200)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:11 +0000
(21:27 -0400)
gtk/gtkfontchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserwidget.c
b/gtk/gtkfontchooserwidget.c
index 76a84502aeca94cc23f6718b3dfa685cb3ab6db4..3979872c45ab4c066b8ceeb01098da893894357c 100644
(file)
--- a/
gtk/gtkfontchooserwidget.c
+++ b/
gtk/gtkfontchooserwidget.c
@@
-355,7
+355,7
@@
output_cb (GtkSpinButton *spin,
adjustment = gtk_spin_button_get_adjustment (spin);
value = gtk_adjustment_get_value (adjustment);
text = g_strdup_printf ("%2.4g", value);
- gtk_
entry_set_text (GTK_ENTRY (spin)
, text);
+ gtk_
spin_button_set_text (spin
, text);
g_free (text);
return TRUE;